<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voro++: voro::container_poly Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Voro++
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>voro</b>      </li>
      <li class="navelem"><a class="el" href="classvoro_1_1container__poly.html">container_poly</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">voro::container_poly Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="voro::container_poly" --><!-- doxytag: inherits="voro::container_base,voro::radius_poly" -->
<p>Extension of the <a class="el" href="classvoro_1_1container__base.html" title="Class for representing a particle system in a three-dimensional rectangular box.">container_base</a> class for computing radical Voronoi tessellations.  
 <a href="classvoro_1_1container__poly.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="container_8hh_source.html">container.hh</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for voro::container_poly:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classvoro_1_1container__poly.png" usemap="#voro::container_poly_map" alt=""/>
  <map id="voro::container_poly_map" name="voro::container_poly_map">
<area href="classvoro_1_1container__base.html" title="Class for representing a particle system in a three-dimensional rectangular box." alt="voro::container_base" shape="rect" coords="70,56,201,80"/>
<area href="classvoro_1_1radius__poly.html" title="Class containing all of the routines that are specific to computing the radical Voronoi tessellation..." alt="voro::radius_poly" shape="rect" coords="211,56,342,80"/>
<area href="classvoro_1_1voro__base.html" title="Class containing data structures common across all particle container classes." alt="voro::voro_base" shape="rect" coords="0,0,131,24"/>
<area href="classvoro_1_1wall__list.html" title="A class for storing a list of pointers to walls." alt="voro::wall_list" shape="rect" coords="141,0,272,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a1d782b31e7d6f5b2040ee2d25753cb53">container_poly</a> (double ax_, double bx_, double ay_, double by_, double az_, double bz_, int nx_, int ny_, int nz_, bool xperiodic_, bool yperiodic_, bool zperiodic_, int init_mem)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a0012f95f5666a347e6585efc76b63b83">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a61689312fb6f8ee36f1fbb0fe00e4fe3">put</a> (int n, double x, double y, double z, double r)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#aa0c81a2be68ed2a8b799ad7682c9b853">put</a> (<a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;vo, int n, double x, double y, double z, double r)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a65ddee05ee3b3677c7a48f67ce64a1d5">import</a> (FILE *fp=stdin)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#aecedca4f256e9382d54efb805877c68f">import</a> (<a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;vo, FILE *fp=stdin)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a0b8b64b39bab75e3cfc9282a23706bab">import</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#af897ea09b80064d4b492862884ba316c">import</a> (<a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;vo, const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a40a4b63b1ac5980b92ca526ac2183489">compute_all_cells</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a081af78a1c9c863393fd07a548a84a2e">sum_cell_volumes</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#af67af614b2b3ad084dfab83470fa8616">draw_particles</a> (c_loop &amp;vl, FILE *fp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a25b1e68cf0ad4f60c7723afc9ad97bb2">draw_particles</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a8a20a1a70dd32c3323307be038bebb1d">draw_particles</a> (const char *filename)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a56313161f9104ef0356238569317a34c">draw_particles_pov</a> (c_loop &amp;vl, FILE *fp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a477ecfe9e0943e71a2e389d7cc85ab20">draw_particles_pov</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a866cce7547f14634e432d510050962ae">draw_particles_pov</a> (const char *filename)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ab1efabec22bdbff42302d94620a71937">draw_cells_gnuplot</a> (c_loop &amp;vl, FILE *fp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ac0700e38ce6ed742dcb52ab6523b1956">draw_cells_gnuplot</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ad360a8ec2c8d59b69b65f34fdba92887">draw_cells_gnuplot</a> (const char *filename)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#aaaddce8c16e4df211db3cbe9f9ca83de">draw_cells_pov</a> (c_loop &amp;vl, FILE *fp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a8d56858927fc6686696e4338f9ac784d">draw_cells_pov</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ae949e1e7d3207212db3c99677e4906cd">draw_cells_pov</a> (const char *filename)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a60907bce91cfacfa054a69872fb10ee3">print_custom</a> (c_loop &amp;vl, const char *format, FILE *fp)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class v_cell , class c_loop &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ae01c610b46aad0aae4998697b69a4b1c">compute_cell</a> (v_cell &amp;c, c_loop &amp;vl)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class v_cell &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#a12b9eeac5c7f409e1d75f77876c7bd3d">compute_cell</a> (v_cell &amp;c, int ijk, int q)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#adf5dcfbba15c482285c23e0ee54155d4">print_custom</a> (const char *format, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#ab2eb9f5480fb9560b71ef1b1ed29b592">print_custom</a> (const char *format, const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1container__poly.html#aa02b6b6e5605b28fc8ecf0cd0a757903">find_voronoi_cell</a> (double x, double y, double z, double &amp;rx, double &amp;ry, double &amp;rz, int &amp;pid)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8fa1655406b9024de42e415c15f6d2e"></a><!-- doxytag: member="voro::container_poly::voro_compute&lt; container_poly &gt;" ref="ac8fa1655406b9024de42e415c15f6d2e" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>voro_compute&lt; container_poly &gt;</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This class is an extension of <a class="el" href="classvoro_1_1container__base.html" title="Class for representing a particle system in a three-dimensional rectangular box.">container_base</a> class that has routines specifically for computing the radical Voronoi tessellation that depends on the particle radii. </p>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00490">490</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1d782b31e7d6f5b2040ee2d25753cb53"></a><!-- doxytag: member="voro::container_poly::container_poly" ref="a1d782b31e7d6f5b2040ee2d25753cb53" args="(double ax_, double bx_, double ay_, double by_, double az_, double bz_, int nx_, int ny_, int nz_, bool xperiodic_, bool yperiodic_, bool zperiodic_, int init_mem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">voro::container_poly::container_poly </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ax_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>bx_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ay_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>by_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>az_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>bz_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nx_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ny_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nz_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>xperiodic_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>yperiodic_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>zperiodic_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>init_mem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The class constructor sets up the geometry of container. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(ax_,bx_)</td><td>the minimum and maximum x coordinates. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(ay_,by_)</td><td>the minimum and maximum y coordinates. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(az_,bz_)</td><td>the minimum and maximum z coordinates. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(nx_,ny_,nz_)</td><td>the number of grid blocks in each of the three coordinate directions. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(xperiodic_,yperiodic_,zperiodic_)</td><td>flags setting whether the container is periodic in each coordinate direction. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">init_mem</td><td>the initial memory allocation for each block. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00079">79</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0012f95f5666a347e6585efc76b63b83"></a><!-- doxytag: member="voro::container_poly::clear" ref="a0012f95f5666a347e6585efc76b63b83" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clears a container of particles, also clearing resetting the maximum radius to zero. </p>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00390">390</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a40a4b63b1ac5980b92ca526ac2183489"></a><!-- doxytag: member="voro::container_poly::compute_all_cells" ref="a40a4b63b1ac5980b92ca526ac2183489" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::compute_all_cells </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes all of the Voronoi cells in the container, but does nothing with the output. It is useful for measuring the pure computation time of the Voronoi algorithm, without any additional calculations such as volume evaluation or cell output. </p>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00446">446</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ae01c610b46aad0aae4998697b69a4b1c"></a><!-- doxytag: member="voro::container_poly::compute_cell" ref="ae01c610b46aad0aae4998697b69a4b1c" args="(v_cell &amp;c, c_loop &amp;vl)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class v_cell , class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool voro::container_poly::compute_cell </td>
          <td>(</td>
          <td class="paramtype">v_cell &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the Voronoi cell for a particle currently being referenced by a loop class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">c</td><td>a Voronoi cell class in which to store the computed cell. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the cell was computed. If the cell cannot be computed, if it is removed entirely by a wall or boundary condition, then the routine returns false. </dd></dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00664">664</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a12b9eeac5c7f409e1d75f77876c7bd3d"></a><!-- doxytag: member="voro::container_poly::compute_cell" ref="a12b9eeac5c7f409e1d75f77876c7bd3d" args="(v_cell &amp;c, int ijk, int q)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class v_cell &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool voro::container_poly::compute_cell </td>
          <td>(</td>
          <td class="paramtype">v_cell &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ijk</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>q</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the Voronoi cell for given particle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">c</td><td>a Voronoi cell class in which to store the computed cell. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ijk</td><td>the block that the particle is within. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">q</td><td>the index of the particle within the block. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the cell was computed. If the cell cannot be computed, if it is removed entirely by a wall or boundary condition, then the routine returns false. </dd></dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00676">676</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ab1efabec22bdbff42302d94620a71937"></a><!-- doxytag: member="voro::container_poly::draw_cells_gnuplot" ref="ab1efabec22bdbff42302d94620a71937" args="(c_loop &amp;vl, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_gnuplot </td>
          <td>(</td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes Voronoi cells and saves the output in gnuplot format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00583">583</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ac0700e38ce6ed742dcb52ab6523b1956"></a><!-- doxytag: member="voro::container_poly::draw_cells_gnuplot" ref="ac0700e38ce6ed742dcb52ab6523b1956" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_gnuplot </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute all Voronoi cells and saves the output in gnuplot format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00593">593</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ad360a8ec2c8d59b69b65f34fdba92887"></a><!-- doxytag: member="voro::container_poly::draw_cells_gnuplot" ref="ad360a8ec2c8d59b69b65f34fdba92887" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_gnuplot </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute all Voronoi cells and saves the output in gnuplot format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00600">600</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="aaaddce8c16e4df211db3cbe9f9ca83de"></a><!-- doxytag: member="voro::container_poly::draw_cells_pov" ref="aaaddce8c16e4df211db3cbe9f9ca83de" args="(c_loop &amp;vl, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_pov </td>
          <td>(</td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes Voronoi cells and saves the output in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00610">610</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a8d56858927fc6686696e4338f9ac784d"></a><!-- doxytag: member="voro::container_poly::draw_cells_pov" ref="a8d56858927fc6686696e4338f9ac784d" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_pov </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes all Voronoi cells and saves the output in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00621">621</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ae949e1e7d3207212db3c99677e4906cd"></a><!-- doxytag: member="voro::container_poly::draw_cells_pov" ref="ae949e1e7d3207212db3c99677e4906cd" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_cells_pov </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes all Voronoi cells and saves the output in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00628">628</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="af67af614b2b3ad084dfab83470fa8616"></a><!-- doxytag: member="voro::container_poly::draw_particles" ref="af67af614b2b3ad084dfab83470fa8616" args="(c_loop &amp;vl, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles </td>
          <td>(</td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps particle IDs, positions and radii to a file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00531">531</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a25b1e68cf0ad4f60c7723afc9ad97bb2"></a><!-- doxytag: member="voro::container_poly::draw_particles" ref="a25b1e68cf0ad4f60c7723afc9ad97bb2" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps all of the particle IDs, positions and radii to a file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00541">541</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a8a20a1a70dd32c3323307be038bebb1d"></a><!-- doxytag: member="voro::container_poly::draw_particles" ref="a8a20a1a70dd32c3323307be038bebb1d" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps all of the particle IDs, positions and radii to a file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00548">548</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a56313161f9104ef0356238569317a34c"></a><!-- doxytag: member="voro::container_poly::draw_particles_pov" ref="a56313161f9104ef0356238569317a34c" args="(c_loop &amp;vl, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles_pov </td>
          <td>(</td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps particle positions in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00557">557</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a477ecfe9e0943e71a2e389d7cc85ab20"></a><!-- doxytag: member="voro::container_poly::draw_particles_pov" ref="a477ecfe9e0943e71a2e389d7cc85ab20" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles_pov </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps all the particle positions in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00567">567</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a866cce7547f14634e432d510050962ae"></a><!-- doxytag: member="voro::container_poly::draw_particles_pov" ref="a866cce7547f14634e432d510050962ae" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::draw_particles_pov </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dumps all the particle positions in POV-Ray format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00573">573</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="aa02b6b6e5605b28fc8ecf0cd0a757903"></a><!-- doxytag: member="voro::container_poly::find_voronoi_cell" ref="aa02b6b6e5605b28fc8ecf0cd0a757903" args="(double x, double y, double z, double &amp;rx, double &amp;ry, double &amp;rz, int &amp;pid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool voro::container_poly::find_voronoi_cell </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>rx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>ry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>rz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>pid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Takes a vector and finds the particle whose Voronoi cell contains that vector. Additional wall classes are not considered by this routine. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the vector to test. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">(rx,ry,rz)</td><td>the position of the particle whose Voronoi cell contains the vector. If the container is periodic, this may point to a particle in a periodic image of the primary domain. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">pid</td><td>the ID of the particle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if a particle was found. If the container has no particles, then the search will not find a Voronoi cell and false is returned. </dd></dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00272">272</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a65ddee05ee3b3677c7a48f67ce64a1d5"></a><!-- doxytag: member="voro::container_poly::import" ref="a65ddee05ee3b3677c7a48f67ce64a1d5" args="(FILE *fp=stdin)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::import </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdin</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Import a list of particles from an open file stream into the container. Entries of five numbers (Particle ID, x position, y position, z position, radius) are searched for. If the file cannot be successfully read, then the routine causes a fatal error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to read from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00355">355</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aecedca4f256e9382d54efb805877c68f"></a><!-- doxytag: member="voro::container_poly::import" ref="aecedca4f256e9382d54efb805877c68f" args="(particle_order &amp;vo, FILE *fp=stdin)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::import </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;&#160;</td>
          <td class="paramname"><em>vo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdin</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Import a list of particles from an open file stream, also storing the order of that the particles are read. Entries of four numbers (Particle ID, x position, y position, z position, radius) are searched for. If the file cannot be successfully read, then the routine causes a fatal error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vo</td><td>a reference to an ordering class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to read from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00368">368</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a0b8b64b39bab75e3cfc9282a23706bab"></a><!-- doxytag: member="voro::container_poly::import" ref="a0b8b64b39bab75e3cfc9282a23706bab" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::import </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Imports a list of particles from an open file stream into the <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class. Entries of five numbers (Particle ID, x position, y position, z position, radius) are searched for. If the file cannot be successfully read, then the routine causes a fatal error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to open and read from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00506">506</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="af897ea09b80064d4b492862884ba316c"></a><!-- doxytag: member="voro::container_poly::import" ref="af897ea09b80064d4b492862884ba316c" args="(particle_order &amp;vo, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::import </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;&#160;</td>
          <td class="paramname"><em>vo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Imports a list of particles from an open file stream into the <a class="el" href="classvoro_1_1container__poly.html" title="Extension of the container_base class for computing radical Voronoi tessellations.">container_poly</a> class. Entries of five numbers (Particle ID, x position, y position, z position, radius) are searched for. In addition, the order in which particles are read is saved into an ordering class. If the file cannot be successfully read, then the routine causes a fatal error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">vo</td><td>the ordering class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to open and read from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00520">520</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a60907bce91cfacfa054a69872fb10ee3"></a><!-- doxytag: member="voro::container_poly::print_custom" ref="a60907bce91cfacfa054a69872fb10ee3" args="(c_loop &amp;vl, const char *format, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class c_loop &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::print_custom </td>
          <td>(</td>
          <td class="paramtype">c_loop &amp;&#160;</td>
          <td class="paramname"><em>vl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the Voronoi cells and saves customized information about them. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vl</td><td>the loop class to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>the custom output string to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8hh_source.html#l00639">639</a> of file <a class="el" href="container_8hh_source.html">container.hh</a>.</p>

</div>
</div>
<a class="anchor" id="adf5dcfbba15c482285c23e0ee54155d4"></a><!-- doxytag: member="voro::container_poly::print_custom" ref="adf5dcfbba15c482285c23e0ee54155d4" args="(const char *format, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::print_custom </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes all the Voronoi cells and saves customized information about them. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>the custom output string to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00407">407</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ab2eb9f5480fb9560b71ef1b1ed29b592"></a><!-- doxytag: member="voro::container_poly::print_custom" ref="ab2eb9f5480fb9560b71ef1b1ed29b592" args="(const char *format, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::print_custom </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes all the Voronoi cells and saves customized information about them </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>the custom output string to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00425">425</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a61689312fb6f8ee36f1fbb0fe00e4fe3"></a><!-- doxytag: member="voro::container_poly::put" ref="a61689312fb6f8ee36f1fbb0fe00e4fe3" args="(int n, double x, double y, double z, double r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::put </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Put a particle into the correct region of the container. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>the numerical ID of the inserted particle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position vector of the inserted particle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the radius of the particle. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00100">100</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa0c81a2be68ed2a8b799ad7682c9b853"></a><!-- doxytag: member="voro::container_poly::put" ref="aa0c81a2be68ed2a8b799ad7682c9b853" args="(particle_order &amp;vo, int n, double x, double y, double z, double r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::container_poly::put </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvoro_1_1particle__order.html">particle_order</a> &amp;&#160;</td>
          <td class="paramname"><em>vo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Put a particle into the correct region of the container, also recording into which region it was stored. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vo</td><td>the ordering class in which to record the region. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>the numerical ID of the inserted particle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position vector of the inserted particle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the radius of the particle. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00131">131</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a081af78a1c9c863393fd07a548a84a2e"></a><!-- doxytag: member="voro::container_poly::sum_cell_volumes" ref="a081af78a1c9c863393fd07a548a84a2e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double voro::container_poly::sum_cell_volumes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates all of the Voronoi cells and sums their volumes. In most cases without walls, the sum of the Voronoi cell volumes should equal the volume of the container to numerical precision. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The sum of all of the computed Voronoi volumes. </dd></dl>

<p>Definition at line <a class="el" href="container_8cc_source.html#l00468">468</a> of file <a class="el" href="container_8cc_source.html">container.cc</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="container_8hh_source.html">container.hh</a></li>
<li><a class="el" href="container_8cc_source.html">container.cc</a></li>
</ul>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 23 2011 22:49:07 for Voro++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
